/*
 * Copyright 2017-2101 Innel.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hykj.xxltest.model;

import com.hykj.xxltest.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;


/**
 * 一级分类
 *
 * @author innel
 * @email 2638086622@qq.com
 * @date 2018-06-25 14:55:52
 */
@ApiModel(description = "一级分类")
public class Class1Model extends BaseModel {

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Integer id;
    /**
     * createTime
     */
    @ApiModelProperty(value = "createTime")
    private Date createTime;
    /**
     * 分类名
     */
    @ApiModelProperty(value = "分类名")
    private String className;
    /**
     * 照片
     */
    @ApiModelProperty(value = "照片")
    private String photo;
    /**
     * 状态 0正常 -1隐藏
     */
    @ApiModelProperty(value = "状态 0正常 -1隐藏")
    private Integer status;
    /**
     * 排序从小到大
     */
    @ApiModelProperty(value = "排序从小到大")
    private Integer index;

    /**
     * 设置：id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取：id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置：createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取：createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置：分类名
     */
    public void setClassName(String className) {
        this.className = className;
    }

    /**
     * 获取：分类名
     */
    public String getClassName() {
        return className;
    }

    /**
     * 设置：照片
     */
    public void setPhoto(String photo) {
        this.photo = photo;
    }

    /**
     * 获取：照片
     */
    public String getPhoto() {
        return photo;
    }

    /**
     * 设置：状态 0正常 -1隐藏
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取：状态 0正常 -1隐藏
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置：排序从小到大
     */
    public void setIndex(Integer index) {
        this.index = index;
    }

    /**
     * 获取：排序从小到大
     */
    public Integer getIndex() {
        return index;
    }
}
